/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.composition.model;

/**
 *
 * @author Matthew
 */
public class AltSnake  {

    private AltReptile reptile = new AltReptile();
    
    public String EatPrey() {
        return reptile.getSubGroup() + "eat their prey whole...";
        
    }

    
    public int NumberOfChildren() {
        return 10;
    }

    public boolean Poisonous() {
        
        if(reptile.isFourLegged()==true)
            return reptile.isPoisonous();
        else
            return false;
    }
    
}
